home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
ziff.zip
/
ZP.BAT
< prev
Wrap
DOS Batch File
|
1991-10-09
|
2KB
|
73 lines
@echo off
If "%1" == "" goto :First
CLS
Echo ZP.BAT, PCPLUS and ZIFFPLUS Startup Batch File
Echo by James D. McDaniel 10-7-91
Echo Copyright (c) 1991 Ziff Communications
Echo
Echo This batch file is designed to take advantage of the environment
Echo variables PCPLUS and ZIFFPLUS. PCPLUS should be set to your Procomm
Echo Plus directory and ZIFFPLUS should be set to your ZIFFPLUS directory.
Echo If you set both variables and put the ZiffPlus directory in
Echo your path or copy the ZP.BAT file to a directory in your path,
Echo then you will be able to run ZP from any directory.
Echo
Echo While reading this batch file you will notice almost the same command
Echo appear four or more times. ZP will try to run/load the program
Echo from the default directory, then from the ZIFFPLUS directory, then
Echo from the PCPLUS directory and last from your PATH or APPEND path.
Echo Normally ZP will be running from the ZiffPlus directory.
Echo
Echo This Help Display shows when you run ZP using any command line
Echo parameter. Using the command "ZP Help" would display this screen.
Echo If you do not wish to see this screen then do not run ZP with any
Echo parameters. Thank you for using ZiffPlus!
Echo
PAUSE
:FIRST
REM *** Goto ZiffPlus Directory ***
If "%ZIFFPLUS%"=="" Goto PSTART1
%ZIFFPLUS%\
CD %ZIFFPLUS%
Goto START
REM *** Goto PcPlus Directory ***
:PSTART1
if "%PCPLUS%"=="" Goto START
%PCPLUS%\
CD %PCPLUS%
:START
REM *** Run PCPLUS with ZIFFPLUS Script ***
If "%PCPLUS%"=="" Goto NOPCPLUS
If Exist ZIFFPLUS.ASX %PCPLUS%\PCPLUS /fZIFFPLUS
If Exist ZIFFPLUS.ASX Goto END
If Exist %ZIFFPLUS%\ZIFFPLUS.ASX %PCPLUS%\PCPLUS /f%ZIFFPLUS%\ZIFFPLUS
If Exist %ZIFFPLUS%\ZIFFPLUS.ASX Goto END
If Exist %PCPLUS%\ZIFFPLUS.ASX %PCPLUS%\PCPLUS /f%PCPLUS%\ZIFFPLUS
If Exist %PCPLUS%\ZIFFPLUS.ASX Goto END
%PCPLUS%\PCPLUS /fZIFFPLUS
Goto END
:NOPCPLUS
If Exist %ZIFFPLUS%\ZIFFPLUS.ASX PCPLUS /f%ZIFFPLUS%\ZIFFPLUS
If Exist %ZIFFPLUS%\ZIFFPLUS.ASX Goto END
PCPLUS /fZIFFPLUS
:END